package com.curve.linechart;

import java.util.List;
import java.util.ArrayList;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: leo
 * Date: 2010-11-24
 * Time: 16:04:22
 * To change this template use File | Settings | File Templates.
 */
public class LineEntity {
    private String lineTitle;
    private List dayEntitys;


    public LineEntity() {
        dayEntitys=new ArrayList();
    }

    public String getLineTitle() {
        return lineTitle;
    }

    public void setLineTitle(String lineTitle) {
        this.lineTitle = lineTitle;
    }


    public List getDayEntitys() {
        return dayEntitys;
    }

    public void setDayEntitys(List dayEntitys) {
        this.dayEntitys = dayEntitys;
    }

    public void addDayEntity(Date day,double num){
        DayEntity dayEntity=new DayEntity(day,num);
        this.getDayEntitys().add(dayEntity);
    }
}
